package com.nuhu.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.math.BigDecimal;

@Mapper
public interface PackageDao {

    @Select("SELECT package_name FROM package WHERE package_id = #{packageId}")
    String getPackageNameById(int packageId);

    @Select("SELECT Package_Data_Limit FROM package WHERE package_id = #{packageId}")
    BigDecimal getPackageDataLimitById(int packageId);
}